package com.project.dao;

import com.project.entity.Exam;
import com.project.entity.ExamPaper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamPaperMapper {
    ExamPaper selectByPrimaryKey(Integer id);
    int deleteByPrimaryKey(Integer id);
    int insertSelective(ExamPaper examPaper);
    List<ExamPaper> selectBatchByCondition(ExamPaper examPaper);
    List<ExamPaper> selectByteacherid(Integer teacherid);
    List<ExamPaper> selectBycourseid(@Param("teacherid") Integer teacherid, @Param("courseid") Integer courseid);
    int updateByPrimaryKeySelective(ExamPaper examPaper);
}
